package com.developerstation.barcode.model;

import java.math.BigDecimal;
import java.util.Date;

public class CkaTm {
    private Integer id;

    private Boolean locked;

    private BigDecimal sortkey;

    private String no;

    private String tmErr;

	private String tmUse;

    private Date createDate;

    private String operator;

    private String www;

    private String aTm;

    private Boolean posted;

    private Date postedDate;

    private String ck;

    private Integer atmQuantity;

    private String type;

    private String tmUpload;
    
    //添加外部参数 单据是否重复
    private Integer repetition;
    //单据在客户端的修改状态
    private Integer updateStatus;

	public Integer getUpdateStatus() {
		return updateStatus;
	}

	public void setUpdateStatus(Integer updateStatus) {
		this.updateStatus = updateStatus;
	}

	public Integer getRepetition() {
		return repetition;
	}

	public void setRepetition(Integer repetition) {
		this.repetition = repetition;
	}

	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Boolean getLocked() {
        return locked;
    }

    public void setLocked(Boolean locked) {
        this.locked = locked;
    }

    public BigDecimal getSortkey() {
        return sortkey;
    }

    public void setSortkey(BigDecimal sortkey) {
        this.sortkey = sortkey;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no == null ? null : no.trim();
    }

    public String getTmErr() {
        return tmErr;
    }

    public void setTmErr(String tmErr) {
        this.tmErr = tmErr == null ? null : tmErr.trim();
    }

    public String getTmUse() {
        return tmUse;
    }

    public void setTmUse(String tmUse) {
        this.tmUse = tmUse == null ? null : tmUse.trim();
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator == null ? null : operator.trim();
    }

    public String getWww() {
        return www;
    }

    public void setWww(String www) {
        this.www = www == null ? null : www.trim();
    }

    public String getaTm() {
        return aTm;
    }

    public void setaTm(String aTm) {
        this.aTm = aTm == null ? null : aTm.trim();
    }

    public Boolean getPosted() {
        return posted;
    }

    public void setPosted(Boolean posted) {
        this.posted = posted;
    }

    public Date getPostedDate() {
        return postedDate;
    }

    public void setPostedDate(Date postedDate) {
        this.postedDate = postedDate;
    }

    public String getCk() {
        return ck;
    }

    public void setCk(String ck) {
        this.ck = ck == null ? null : ck.trim();
    }

    public Integer getAtmQuantity() {
        return atmQuantity;
    }

    public void setAtmQuantity(Integer atmQuantity) {
        this.atmQuantity = atmQuantity;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public String getTmUpload() {
        return tmUpload;
    }

    public void setTmUpload(String tmUpload) {
        this.tmUpload = tmUpload == null ? null : tmUpload.trim();
    }
    
    @Override
	public String toString() {
		return "CkaTm [id=" + id + ", locked=" + locked + ", sortkey="
				+ sortkey + ", no=" + no + ", tmErr=" + tmErr + ", tmUse="
				+ tmUse + ", createDate=" + createDate + ", operator="
				+ operator + ", www=" + www + ", aTm=" + aTm + ", posted="
				+ posted + ", postedDate=" + postedDate + ", ck=" + ck
				+ ", atmQuantity=" + atmQuantity + ", type=" + type
				+ ", tmUpload=" + tmUpload + "]";
	}
}